package XML.g4;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class University {

	private List<Student> students = new ArrayList<Student>();
	
	@XmlElement(name="student")
	public List<Student> getStudents()
	{
		return students;
	}
	
	public void setStudents(List<Student> students)
	{
		this.students = students;
	}
}
